package cn.gov.pbc.dream.dao;

import cn.gov.pbc.dream.pojo.repository.BankFinancingProductIncreaseMethodDo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface BankFinancingProductIncreaseMethodDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BankFinancingProductIncreaseMethodDo record);

    int insertSelective(BankFinancingProductIncreaseMethodDo record);

    BankFinancingProductIncreaseMethodDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BankFinancingProductIncreaseMethodDo record);

    int updateByPrimaryKey(BankFinancingProductIncreaseMethodDo record);

    int deleteByReportOrgCodeAndReportTime(@Param("reportOrgCode") String reportOrgCode,
                                           @Param("reportTime") Date reportTime);

    int deleteByProductCode(String productCode);
}